package com.zwps.extra.http;

import lombok.Getter;

@Getter
public class HttpException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    private Integer httpStatus;

    public HttpException() {
        super();
    }

    public HttpException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }

    public HttpException(String message, Throwable cause) {
        super(message, cause);
    }

    public HttpException(String message) {
        super(message);
    }
    public HttpException(String message, int httpStatus) {
        super(message);
        this.httpStatus = httpStatus;
    }

    public HttpException(Throwable cause) {
        super(cause);
    }

}
